<template>
	<view class="no-data">
	    <view class="no-data-inner" :style="{height: noDataHeight}">
			<view class="no-data-box">
				<view class="icon iconfont iconwushuju"></view>
				<view class="icon-text">{{noDataText}}</view>
			</view>
		</view>
	</view>
</template>


<script>
	export default {
		name: 'noData',
		props: {
			noDataHeight: {
				type:String,
				default: '240px'
			},
			noDataText:{
				type:String,
				default:'暂无数据'
			}
		},
		data() {
			return {
				
			}
		}
	}
</script>

<style scoped>
	.no-data-inner{
	   width: 100%;	
	   display: flex;
	   align-items: center;
	   text-align: center;
	   background-color: #f1f1f1;
	}
	.no-data-inner .icon{
		font-size:160upx;
		color: #666;
		margin-bottom: 18upx;
	}
	.no-data-inner .no-data-box{
		width: 100%;
	}
	.no-data-inner .icon-text{
		font-size: 28upx;
		color: #666;
	}
</style>